package com.heitian.ssm.dao;

import com.heitian.ssm.model.AddressList;
import com.heitian.ssm.model.CallRecord;
import com.heitian.ssm.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Zhangxq on 2016/7/15.
 */

@Repository
public interface CallRecordDao {
    Integer saveCallRecord(CallRecord callRecord);

    CallRecord getCallRecord(@Param("place") String place);

    List<CallRecord> getCallRecordList(@Param("place") String place,@Param("startTime")String startTime,@Param("endTime")String endTime);

	int answer(CallRecord callRecord);
}
